#ifndef APPEARANCE_H
#define APPEARANCE_H
#include <QWidget>
#include <QScrollArea>
#include <DBackgroundGroup>
#include <DFrame>
#include <DSwitchButton>
#include <DSlider>
#include <DBackgroundGroup>
#include <QVBoxLayout>
#include <src/settings/settings.h>
DWIDGET_USE_NAMESPACE
class AppearanceSettings : public QScrollArea
{
    Q_OBJECT
public:
    explicit AppearanceSettings(QWidget *parent = nullptr);
    DSwitchButton* btn_effect;
    DSlider* slr_mask;
    QVBoxLayout* layout;
    quint8 getMask();
    void loadConfig();
signals:
    void EffectChange(bool open,quint8 value);
private:
    void initWindowEffect();

public slots:
};

#endif // APPEARANCE_H
